﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace NutriLeaf.Web.Core.Gender
{
    public class GenderUtility
    {
        public static Gender GetGenderOnProfile(Model.UserProfile profile)
        {
            Gender gender;

            if (profile.Gender == true)
            {
                gender = Gender.Male;
            }
            else
            {
                gender = Gender.Female;
            }
            return gender;
        }
    }
}